﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="SlideShowControl.ascx.cs" Inherits="Photography.Controls.JQuerySlideshow.SlideShowControl" %>
<div class="<%=ClientID %>class">
    <asp:Repeater ID="rptImages" runat="server">
        <ItemTemplate>
            <img src="<%# DataBinder.Eval(Container.DataItem, SourceField) %>"
            alt="<%# string.IsNullOrEmpty(TitleField) ? "" : DataBinder.Eval(Container.DataItem, TitleField) %>"
            />
        </ItemTemplate>
    </asp:Repeater>
</div>